import Vue from 'vue'
import VueRouter from 'vue-router'

const Bang = () => import('../components/Bang.vue')
const Wap = () => import('../components/wap.vue')
const Last = () => import('../components/Last.vue')

// const Nav =()=>import('../components/nav1.vue')

// import Home from '../components/'
Vue.use(VueRouter)



const routes = [

  {
    path: '/',
    redirect:'/Wap'
    
  },

  {
    path: '/Wap',
    name: 'Wap',
    component: Wap
  },
  {
  path: '/Bang',
  name: 'Bang',
  component: Bang
},
{
  path:'/Last',
  name:'Last',
  component:Last
}



]

const router = new VueRouter({
  mode: 'history',
  base: process.env.BASE_URL,
  routes
})

export default router